package org.edu.modules.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.edu.modules.common.entity.VeBaseBanJiBzr;

@Mapper
public abstract interface VeBaseBanJiBzrMapper extends BaseMapper<VeBaseBanJiBzr> {
    public abstract VeBaseBanJiBzr getByBjIdAndBzrUserId(Integer bjId, String bzrUserId);

    public abstract IPage<VeBaseBanJiBzr> getBanJiBzrPageList(Page page, VeBaseBanJiBzr veBaseBanJiBzr);
    void checkIsBzr(@Param("userId") String userId , @Param("bjId") Integer bjId);
}
